<div class="base header">
    <div class="main">
        <a href="/" class="fl logo"></a>
        <div class="concept fl">堂 堂 正 正 做 教 育 </div>
        <ul id="navitem" class="fr navitem">
            <volist name="homeTopList" id="vo">
                <?php
                    $_url = empty($vo['url']) || substr($vo['url'], 0, 10) == 'javascript' ? '' : $vo['url'];
                    $_url = !empty($_url) || !isset($vo['_child'][0]['url']) ? $_url : $vo['_child'][0]['url'];
                    $curr_url = $url='http://'.$_SERVER['SERVER_NAME'].$_SERVER["REQUEST_URI"];
                ?>
                <li class="<?php if( $key == 0 && rtrim(strtolower($curr_url), '/') == rtrim(strtolower($_url), '/') ):?>active<?php elseif( $key > 0 && strstr(strtolower($_url), strtolower(CONTROLLER_NAME), true) !== false): ?>active<?php endif;?> ">
                    <a class="item" href="{:get_nav_url($vo['url'])}" <eq name="vo.target" value="1">target="_blank"</eq> >{$vo.title}</a>
                    <notempty name="vo._child">
                        <ul class="iusm">
                            <volist name="vo._child" id="v">
                                <li><a href="{:get_nav_url($v['url'])}" <eq name="vo.target" value="1">target="_blank"</eq> >{$v.title}</a></li>
                            </volist>
                        </ul>
                    </notempty>
                </li>
            </volist>
        </ul>
        <!--
        <div class="fr wx"></div>
        <div class="fr tel"></div>
        -->
    </div>
</div>